package com.wechat.entity.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;

/**
 * 封装登录用户信息存于redis
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class TokenUserInfoDto implements Serializable {
    private static final long serialVersionUID = -6910208948981307451L;
    private String token;
    private String userId;
    private String nickName;
    private Boolean admin;//是否是管理员

}
